<?php
/**
 * Created by PhpStorm.
 * User: chenzhitao
 * Date: 2018/8/13
 * Time: 下午1:53
 */

namespace app\index\utils;


use think\Controller;
use think\exception\HttpException;

class ExceptionUtil extends Controller
{
    public  function notFoundError(){
        throw new HttpException(404, '~~~非法请求~~~');
    }
}